================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
此样例演示了COMP比较器中断功能，，PC2作为比较器正端输入，PC3作为比较器的负端输入，
当PC2的电压大于PC3的电压时，LED灯亮，小于PC3的电压时,LED灯灭。

Function descriptions:
This example demonstrates the interrupt function of the COMP comparator,where 
PC2 serves as the positive input of the comparator and PC3 as the negative input,
When the voltage of PC2 is higher than that of PC3 the LED light turns on; 
when it is lower, the LED light turns off.
================================================================================
测试环境：
测试用板：PY32F420_STK
MDK版本： 5.41
IAR版本： 9.20
GCC 版本：GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F420_STK
MDK Version: 5.41
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行;
2. PC3输入1.65V;
3. 配置PC2输入1.7V电压，LED灯灭;
4. 配置PC2输入1.6V电压，LED灯亮;

Example execution steps:
1.Compile and download the program to MCU and run it;
2.PC3 input 1.65V;
3.Configure PC2 input voltage of 1.7V, LED light off;
4.Configure PC2 input voltage of 1.6V, LED light on;
================================================================================
注意事项：

Notes:

================================================================================